package com.ruoyi.project.jxc.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

public class JxcSup extends BaseEntity {
    private Long supId;
    private String supName;
    private String supContact;
    private String supMobile;
    private String supTel;
    private String supAccount;
    private String supAddress;
    private String status;

    @Override
    public String toString() {
        return "JxcSup{" +
                "supId=" + supId +
                ", supName='" + supName + '\'' +
                ", supContact='" + supContact + '\'' +
                ", supMobile='" + supMobile + '\'' +
                ", supTel='" + supTel + '\'' +
                ", supAccount='" + supAccount + '\'' +
                ", supAddress='" + supAddress + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JxcSup that = (JxcSup) o;
        return Objects.equals(supId, that.supId) && Objects.equals(supName, that.supName) && Objects.equals(supContact, that.supContact) && Objects.equals(supMobile, that.supMobile) && Objects.equals(supTel, that.supTel) && Objects.equals(supAccount, that.supAccount) && Objects.equals(supAddress, that.supAddress) && Objects.equals(status, that.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(supId, supName, supContact, supMobile, supTel, supAccount, supAddress, status);
    }

    public Long getSupId() {
        return supId;
    }

    public void setSupId(Long supId) {
        this.supId = supId;
    }

    public String getSupName() {
        return supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }

    public String getSupContact() {
        return supContact;
    }

    public void setSupContact(String supContact) {
        this.supContact = supContact;
    }

    public String getSupMobile() {
        return supMobile;
    }

    public void setSupMobile(String supMobile) {
        this.supMobile = supMobile;
    }

    public String getSupTel() {
        return supTel;
    }

    public void setSupTel(String supTel) {
        this.supTel = supTel;
    }

    public String getSupAccount() {
        return supAccount;
    }

    public void setSupAccount(String supAccount) {
        this.supAccount = supAccount;
    }

    public String getSupAddress() {
        return supAddress;
    }

    public void setSupAddress(String supAddress) {
        this.supAddress = supAddress;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public JxcSup(Long supId, String supName, String supContact, String supMobile, String supTel, String supAccount, String supAddress, String status) {
        this.supId = supId;
        this.supName = supName;
        this.supContact = supContact;
        this.supMobile = supMobile;
        this.supTel = supTel;
        this.supAccount = supAccount;
        this.supAddress = supAddress;
        this.status = status;
    }

    public JxcSup() {
    }
}
